//一级分类的类型
export interface category1ItemType {
  'id'?: number,
  'createTime'?: string,
  'updateTime'?: string,
  'name'?: string
}

export type category1ListType = category1ItemType[]

//二级分类的类型
export interface category2ItemType {
  'id'?: number,
  'createTime'?: string,
  'updateTime'?: string,
  'name'?: string
  'category1Id': number
}

export type category2ListType = category2ItemType[]

//三级分类的类型
export interface category3ItemType {
  'id'?: number,
  'createTime'?: string,
  'updateTime'?: string,
  'name'?: string
  'category2Id': number
}

export type category3ListType = category3ItemType[]

//属性信息列表类型
export interface attrValueItemType {
  'id': number,
  'createTime': null,
  'updateTime': null,
  'valueName': string,
  'attrId': number
}

export type attrValueListType = attrValueItemType[]

export interface attrInfoItemType {
  'id': number,
  'createTime': null,
  'updateTime': null,
  'attrName': string,
  'categoryId': number,
  'categoryLevel': number,
  'attrValueList':attrValueListType
}
export type attrInfoListType = attrInfoItemType[]
